home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 11
/
CU Amiga Magazine's Super CD-ROM 11 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-06].iso
/
cucd
/
programming
/
dignet
/
fd
/
dignet_lib.fd
Wrap
Text File
|
1997-03-16
|
1KB
|
72 lines
##base _DignetBase
##bias 30
##public
*
* From version 1
*
AllocNet(device,unit)(a0,d0)
FreeNet(net)(a0)
ReadNet(net,buffer,size)(a0/a1,d0)
WriteNet(net,buffer,size)(a0/a1,d0)
*
* Misc
*
QueryNet(net)(a0)
AbortNet(net)(a0)
InitIOEXT(net,newioext,length)(a0/a1,d0)
ReadIOEXT(net,buffer,length)(a0/a1,d0)
##private
SendNet(net,buffer,size,init,update)(a0/a1,d0,a2/a3)
ReceiveNet(net,buffer,update,timeout)(a0/a1/a2,d0)
##public
Timeout(net,seconds)(a0,d0)
*
* From version 2
*
ReadString(net,buffer,max)(a0/a1,d0)
WriteString(net,string)(a0/a1)
GetNetport(net)(a0)
*
* From version 3
*
*
* Modem comands
*
InitModem(net,initstring,buffer)(a0/a1/a2)
CallModemDT(net,number,buffer)(a0/a1/a2)
CallModemDP(net,number,buffer)(a0/a1/a2)
WaitModem(net,buffer)(a0/a1)
HangupModem(net)(a0)
StopWaiting(net)(a0)
*
* Misc
*
FlushNet(net)(a0)
SetBaud(net,baud)(a0,d0)
ConvertModemString(string)(a0)
GetIOmsg(net)(a0)
GetModemStatus(net)(a0)
GetCurrentDevice(net)(a0)
GetCurrentUnit(net)(a0)
GetBaudrate(net)(a0)
ParseConnect(buffer)(a0)
SetDefault(net)(a0)
*
* Text converting
*
ConvertToPC(text)(a0)
ConvertToAmiga(text)(a0)
FreeConvert(convertedtext)(a0)
ObtainNet(taskname)(a0)
*
* Resource tracking functions
*
RTNumberofNets()()
RTNetInfo(buffer,ID)(a0,d0)
RTKillNet(ID)(d0)
RTAbort(ID)(d0)
RTFlush(ID)(d0)
RTCheck()()
RTHighestID()()
##end